package com.zkx.mvp.contract;

/**
 * Author：zhangkx on 2017/6/16 16:55
 * Email：zkx9025@163.com
 * 登录契约接口
 */

public interface LoginContract {
    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void login(String userName,String password);
    }

    interface View extends BaseContract.BaseView {
        public void onNameError();
        public void onPassWordError();
        void onSuccess(String result);
    }
}
